package org.jeecg.modules.xmss.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description: 选民意见建议表
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Data
@ApiModel(value="XmssIdeaAddVo", description="选民意见建议表")
public class XmssIdeaAddVo {


	/**姓名*/
	@Excel(name = "姓名", width = 15)
	@ApiModelProperty(value = "姓名")
	@Length(min= 2, max=20 ,message = "姓名2到20个字符")
	private String name;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
	@ApiModelProperty(value = "手机号码")
	@Length(min= 11, max=11 ,message = "手机号码11个字符")
	private String mobile;
	/**意见建议*/
	@Excel(name = "意见建议", width = 15)
	@ApiModelProperty(value = "意见建议")
	@NotNull(message = "意见建议不能为空")
	@Length(min= 5, max=255 ,message = "意见建议5到255个字符")
	private String idea;
	/**图片或者视频路径*/
	@Excel(name = "图片或者视频路径", width = 15)
	@ApiModelProperty(value = "图片或者视频路径-----图片用base64传参")
	private String url;
	/**1图片   2视频*/
	@Excel(name = "1图片   2视频", width = 15)
	@ApiModelProperty(value = "1图片   2视频")
	private String type;
	/**微信openId*/
	@Excel(name = "微信openId--个人标识", width = 15)
	@ApiModelProperty(value = "微信openId--个人标识，查看自己提的意见建议（传这个参数）")
	private String openId;
	/**微信openId*/
	@Excel(name = "微信openId--公众号标识", width = 15)
	@ApiModelProperty(value = "微信openId--公众号标识--区分不同的乡镇")
	private String publicOpenId;
	/**意见类型*/
	@ApiModelProperty(value = "意见类型")
	private java.lang.Integer ideaType;
	/**经度（纵坐标）*/
	@ApiModelProperty(value = "经度（纵坐标）")
	private java.lang.String longitude;
	/**纬度（横坐标）*/
	@ApiModelProperty(value = "纬度（横坐标）")
	private java.lang.String latitude;
	/**事件发生的地址*/
	@ApiModelProperty(value = "事件发生的地址")
	private java.lang.String address;
}
